package cn.iune.erp.inventory;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IStorageRecordDao {
	
	public void insert(StorageRecord obj);
	
	public void delete(String fID);
	
	public StorageRecord update(StorageRecord obj);

	public List<StorageRecord> getAll();
	
	public StorageRecord getByID(String fID);
	
	public StorageRecord getByNo(String recordNo, String enterpriseNo);

	public StorageRecord getByOriginNo(String origin, String originNo, String enterpriseNo);

	JSONObject query(JSONObject data) throws SQLException;

	JSONObject querySimple(JSONObject data) throws SQLException;

	JSONObject create(JSONObject data);


}
